Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run EnzymeTestUtils with assertions #1366

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vchuravy
Copy link
Member

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Mar 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.40%. Comparing base (724b9bc) to head (a2a9494).
Report is 1 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1366   +/-   ##
=======================================
  Coverage   75.40%   75.40%           
=======================================
  Files          36       36           
  Lines       10671    10671           
=======================================
  Hits         8047     8047           
  Misses       2624     2624           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vchuravy
Copy link
Member Author

@wsmoses

%"'ipc.i" = addrspacecast [1 x {} addrspace(10)*]* %5 to [1 x {} addrspace(10)*] addrspace(11)*, !dbg !18
  %12 = insertvalue [2 x [1 x {} addrspace(10)*] addrspace(11)*] undef, [1 x {} addrspace(10)*] addrspace(11)* %"'ipc.i", 0, !dbg !18
julia: /home/runner/work/Enzyme.jl/Enzyme.jl/julia/src/llvm-late-gc-lowering.cpp:1124: void RecursivelyVisit(callback, llvm::Value*) [with VisitInst = llvm::IntrinsicInst; callback = LateLowerGCFrame::PlaceRootsAndUpdateCalls(std::vector<int, std::allocator<int> >&, State&, std::map<llvm::Value*, std::pair<int, int> >)::<lambda(llvm::AllocaInst*&)>::<lambda(llvm::Use&)>]: Assertion `false && "Unexpected instruction"' failed.

[13749] signal (6.-6): Aborted
in expression starting at /home/runner/work/Enzyme.jl/Enzyme.jl/lib/EnzymeTestUtils/test/test_forward.jl:55
pthread_kill at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
raise at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
abort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x7f4f3d02871a)
__assert_fail at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
RecursivelyVisit<llvm::IntrinsicInst, LateLowerGCFrame::PlaceRootsAndUpdateCalls(std::vector<int, std::allocator<int> >&, State&, std::map<llvm::Value*, std::pair<int, int> >)::<lambda(llvm::AllocaInst*&)>::<lambda(llvm::Use&)> > at /home/runner/work/Enzyme.jl/Enzyme.jl/julia/src/llvm-late-gc-lowering.cpp:1124
RecursivelyVisit<llvm::IntrinsicInst, LateLowerGCFrame::PlaceRootsAndUpdateCalls(std::vector<int, std::allocator<int> >&, State&, std::map<llvm::Value*, std::pair<int, int> >)::<lambda(llvm::AllocaInst*&)>::<lambda(llvm::Use&)> > at /home/runner/work/Enzyme.jl/Enzyme.jl/julia/src/llvm-late-gc-lowering.cpp:1119
operator() at /home/runner/work/Enzyme.jl/Enzyme.jl/julia/src/llvm-late-gc-lowering.cpp:2675
PlaceRootsAndUpdateCalls at /home/runner/work/Enzyme.jl/Enzyme.jl/julia/src/llvm-late-gc-lowering.cpp:2703
runOnFunction at /home/runner/work/Enzyme.jl/Enzyme.jl/julia/src/llvm-late-gc-lowering.cpp:2762
runOnFunction at /home/runner/work/Enzyme.jl/Enzyme.jl/julia/src/llvm-late-gc-lowering.cpp:2772
_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE at /home/runner/work/Enzyme.jl/Enzyme.jl/julia/usr/bin/../lib/libLLVM-15jl.so (unknown line)
_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE at /home/runner/work/Enzyme.jl/Enzyme.jl/julia/usr/bin/../lib/libLLVM-15jl.so (unknown line)
_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE at /home/runner/work/Enzyme.jl/Enzyme.jl/julia/usr/bin/../lib/libLLVM-15jl.so (unknown line)
LLVMRunPassManager at /home/runner/work/Enzyme.jl/Enzyme.jl/julia/usr/bin/../lib/libLLVM-15jl.so (unknown line)
LLVMRunPassManager at /home/runner/.julia/packages/LLVM/Nmosx/lib/15/libLLVM.jl:3352 [inlined]

@wsmoses wsmoses force-pushed the vc/enzyme_test_utils_asserts branch from 2940271 to a2a9494 Compare April 6, 2024 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants